package com.android_map_app.activities;

import android.app.Application;
import android.content.SharedPreferences;

public class MapApplication extends Application {

	private boolean serviceRunning;
	public static SharedPreferences mPrefs;

	@Override
	public void onCreate() {
		super.onCreate();
		mPrefs = getSharedPreferences(MainActivity.USER_PREF, MODE_PRIVATE);
	}

	public boolean isServiceRunning() {
		return serviceRunning;
	}

	public void setServiceRunning(boolean serviceRunning) {
		this.serviceRunning = serviceRunning;
	}
	
	
}
